function DoMath(){
	var ocoupon=document.SecondProfiles.coup.value;
	var oprovince=document.SecondProfiles.ppp.value;
	var userInput = document.SecondProfiles.loanborrow.value;
       
if (oprovince=="Alberta")
{var ocost=0.23*ocoupon;
}
else if (oprovince=="Ontario")
{var ocost=0.21*ocoupon;
}
else
{var ocost=0.21*ocoupon;
}
 
	var amount = parseInt(userInput) * ocost;
	document.SecondProfiles.loancost.value = "$"+amount;
}